//
//  SerialCell.h
//  aiteshangcheng
//
//  Created by caominglei on 2018/4/24.
//  Copyright © 2018年 aite. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SerialModel.h"
@protocol SerialCellDelegate<NSObject>
- (void)payOrder;
- (void)deleteOrder;

@end
@interface SerialCell : UITableViewCell
@property (strong, nonatomic) SerialModel *model;

@property (strong, nonatomic) UILabel *orderLabel;
@property (strong, nonatomic) UILabel *timeLabel;
@property (strong, nonatomic) UILabel *amountLabel;
@property (strong, nonatomic) UILabel *stateLabel;
@property (strong, nonatomic) UIButton *paybtn;
@property (strong, nonatomic) UIButton *deletebtn;
@property (nonatomic, weak) id<SerialCellDelegate> delegate;

@end
